<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.2.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
  <link rel="stylesheet" href="/lib/pace/pace-theme-minimal.min.css">
  <script src="/lib/pace/pace.min.js"></script>

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"sekla.cn","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"right","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":"valine","storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="STC单片机CPU内核功能单元单片机架构图：   程序计数器PC功能之前已经了解，执行机器指令有顺序与非顺序之分。 指令通道指令通道包含取指令，译码，执行指令单元，本质上为有限自动状态机。 这部分为数字逻辑和汇编已经学过。">
<meta property="og:type" content="article">
<meta property="og:title" content="STC单片机CPU内核功能单元与寄存器功能">
<meta property="og:url" content="http://sekla.cn/2021/07/13/STC%E5%8D%95%E7%89%87%E6%9C%BACPU%E5%86%85%E6%A0%B8/index.html">
<meta property="og:site_name" content="Sekla&#39;s Blog">
<meta property="og:description" content="STC单片机CPU内核功能单元单片机架构图：   程序计数器PC功能之前已经了解，执行机器指令有顺序与非顺序之分。 指令通道指令通道包含取指令，译码，执行指令单元，本质上为有限自动状态机。 这部分为数字逻辑和汇编已经学过。">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://i.loli.net/2021/07/09/rOKYHeLuwy2BsbS.png">
<meta property="og:image" content="https://i.loli.net/2021/07/13/ySwJeOj6Ip5Bs9R.png">
<meta property="og:image" content="https://i.loli.net/2021/07/13/4vY1HAGbhjxaiol.png">
<meta property="og:image" content="https://i.loli.net/2021/07/13/lG2xODyAtPpTKMI.png">
<meta property="article:published_time" content="2021-07-13T03:30:00.000Z">
<meta property="article:modified_time" content="2021-10-18T14:46:47.720Z">
<meta property="article:author" content="Sekla">
<meta property="article:tag" content="C">
<meta property="article:tag" content="嵌入式">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://i.loli.net/2021/07/09/rOKYHeLuwy2BsbS.png">

<link rel="canonical" href="http://sekla.cn/2021/07/13/STC%E5%8D%95%E7%89%87%E6%9C%BACPU%E5%86%85%E6%A0%B8/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>STC单片机CPU内核功能单元与寄存器功能 | Sekla's Blog</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

  <script type="text/javascript" src="/js/my_js/clicklove.js"></script>
<!-- hexo injector head_end start -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hexo-math@4.0.0/dist/style.css">
<!-- hexo injector head_end end --></head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">Sekla's Blog</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">Keep Learning Keep Doing</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签<span class="badge">14</span></a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类<span class="badge">23</span></a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档<span class="badge">100</span></a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>
  <div class="reading-progress-bar"></div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://sekla.cn/2021/07/13/STC%E5%8D%95%E7%89%87%E6%9C%BACPU%E5%86%85%E6%A0%B8/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.jpg">
      <meta itemprop="name" content="Sekla">
      <meta itemprop="description" content="Sekla">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Sekla's Blog">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          STC单片机CPU内核功能单元与寄存器功能
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2021-07-13 11:30:00" itemprop="dateCreated datePublished" datetime="2021-07-13T11:30:00+08:00">2021-07-13</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2021-10-18 22:46:47" itemprop="dateModified" datetime="2021-10-18T22:46:47+08:00">2021-10-18</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E5%B5%8C%E5%85%A5%E5%BC%8F/" itemprop="url" rel="index"><span itemprop="name">嵌入式</span></a>
                </span>
                  ，
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E5%B5%8C%E5%85%A5%E5%BC%8F/STC51%E5%8D%95%E7%89%87%E6%9C%BA%E7%B3%BB%E5%88%97/" itemprop="url" rel="index"><span itemprop="name">STC51单片机系列</span></a>
                </span>
            </span>

          
            <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv" style="display: none;">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              <span class="post-meta-item-text">阅读次数：</span>
              <span id="busuanzi_value_page_pv"></span>
            </span><br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="far fa-file-word"></i>
              </span>
                <span class="post-meta-item-text">本文字数：</span>
              <span>1.4k</span>
            </span>
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="far fa-clock"></i>
              </span>
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              <span>1 分钟</span>
            </span>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="STC单片机CPU内核功能单元"><a href="#STC单片机CPU内核功能单元" class="headerlink" title="STC单片机CPU内核功能单元"></a>STC单片机CPU内核功能单元</h1><p>单片机架构图：</p>
<img src="https://i.loli.net/2021/07/09/rOKYHeLuwy2BsbS.png" alt="STCstruct" style="zoom:80%;" />

<p>程序计数器PC功能之前已经了解，执行机器指令有顺序与非顺序之分。</p>
<h3 id="指令通道"><a href="#指令通道" class="headerlink" title="指令通道"></a>指令通道</h3><p>指令通道包含取指令，译码，执行指令单元，本质上为有限自动状态机。</p>
<p>这部分为数字逻辑和汇编已经学过。</p>
<a id="more"></a>

<h3 id="流水线技术"><a href="#流水线技术" class="headerlink" title="流水线技术"></a>流水线技术</h3><p>传统8051单片机指令通道采用串行结构，每一条指令的取指，译码与执行都需要等待上一条指令执行结束。如果一条指令需要3个时间周期，那么3个指令就成了9个时间周期。</p>
<p>流水线即令下一条指令的取指译码同时在当前指令的译码执行阶段进行，每个时钟脉冲都接受下一条处理数据的指令，成了二级或三级流水线，那么只需要几个周期就能完成3个指令。</p>
<p>STC单片机使用的是改进后的二或三级流水线。</p>
<h3 id="DPTR"><a href="#DPTR" class="headerlink" title="DPTR"></a>DPTR</h3><p>数据指针是一个16位的专用寄存器，同样分为高低8位，DPTR是8051中唯一可以直接进行16位操作的寄存器，此外也可以按照字节分别对DPH和DPL操作。</p>
<p>程序存储空间为64k，地址线大概16位，所以DPTR可以作为基址寄存器来做16位操作。</p>
<p>扩展后为双数据指针，有两个此寄存器，公用地址空间。</p>
<h3 id="堆栈和指针"><a href="#堆栈和指针" class="headerlink" title="堆栈和指针"></a>堆栈和指针</h3><p>保存现场，堆栈指针SP是8位专用寄存器，寄存器保存栈顶地址。</p>
<p>与计算机系统中的过程相同。</p>
<h3 id="ACC"><a href="#ACC" class="headerlink" title="ACC"></a>ACC</h3><p>用于大多数指令结果的累加器，为累加器所分配的地址空间位于特殊功能寄存器SFR中。</p>
<h3 id="B寄存器"><a href="#B寄存器" class="headerlink" title="B寄存器"></a>B寄存器</h3><p>乘除法操作特殊寄存器，其他时候为通用寄存器，参与乘法运算的操作数保存，乘法运算后，高8位在B寄存器，低8为在A寄存器，除法类似。</p>
<h3 id="程序状态字"><a href="#程序状态字" class="headerlink" title="程序状态字"></a>程序状态字</h3><p>PSW寄存器中，保存一些具有特殊含义的位，这些状态位保存工作状态。</p>
<table>
<thead>
<tr>
<th>7</th>
<th>6</th>
<th>5</th>
<th>4</th>
<th>3</th>
<th>2</th>
<th>1</th>
<th>0</th>
</tr>
</thead>
<tbody><tr>
<td>CY</td>
<td>AC</td>
<td>F0</td>
<td>RS1</td>
<td>RS0</td>
<td>OV</td>
<td>RSV</td>
<td>P</td>
</tr>
</tbody></table>
<p>F0：通用标志0；RS：寄存器组选择位，用于选择不同寄存器组。</p>
<p>工作寄存器分成不同的4组。</p>
<p>RS1和RS0共同决定选择不同的组，RS1RS0=00选择第0组，以此类推。</p>
<p>OV溢出标志，RSV保留位，P奇偶校验位，用于表示ACC中1的个数。</p>
<h3 id="特殊功能寄存器"><a href="#特殊功能寄存器" class="headerlink" title="特殊功能寄存器"></a>特殊功能寄存器</h3><p>SFR是具有特殊功能的RAM区域，它是一系列控制寄存器和状态寄存器的结合。</p>
<p>STC单片机中当寄存器地址能够被8整除才可以进行位操作。</p>
<p>更多细节参考STC手册。</p>
<h3 id="端口控制寄存器组"><a href="#端口控制寄存器组" class="headerlink" title="端口控制寄存器组"></a>端口控制寄存器组</h3><p>即P0,P1,P2,P3等端口的控制寄存器组，即之前工程的P0M1,P0M1等。</p>
<h3 id="时钟分频器"><a href="#时钟分频器" class="headerlink" title="时钟分频器"></a>时钟分频器</h3><p>调整CPU的运行速度，STC单片机已经集成内部的IRC时钟，可以在ISP软件中调整。</p>
<p>当然时钟信号也可以分频输出，参考STC手册。</p>
<h2 id="Keil-C调试代码探究RAM和寄存器"><a href="#Keil-C调试代码探究RAM和寄存器" class="headerlink" title="Keil C调试代码探究RAM和寄存器"></a>Keil C调试代码探究RAM和寄存器</h2><figure class="highlight c"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#<span class="meta-keyword">include</span> <span class="meta-string">&quot;STC15F2K60S2.H&quot;</span></span></span><br><span class="line"><span class="function"><span class="keyword">void</span> <span class="title">main</span><span class="params">()</span></span>&#123;</span><br><span class="line">	<span class="keyword">volatile</span> <span class="keyword">int</span> x=<span class="number">0x1234</span>,y=<span class="number">0x5678</span>,z;</span><br><span class="line">	RS0=<span class="number">0</span>;</span><br><span class="line">	RS1=<span class="number">0</span>;</span><br><span class="line">	z=x+y;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>输入代码后进行调试：</p>
<p><img src="https://i.loli.net/2021/07/13/ySwJeOj6Ip5Bs9R.png"></p>
<p>修改左边通用寄存器的值，由于代码中为RS0=0,RS1=0,所以选择了第0组的通用寄存器，运行代码查看RAM值：</p>
<p><img src="https://i.loli.net/2021/07/13/4vY1HAGbhjxaiol.png"></p>
<p>我们可以发现修改的寄存器值从D:0x00开始低8个字节，而我们存储的数据从0x08后才开始出现，我们再次改变RS0和RS1的值，使其使用第一组通用寄存器组。</p>
<p><img src="https://i.loli.net/2021/07/13/lG2xODyAtPpTKMI.png" alt="RAM值2"></p>
<p>还是从0x08开始存储数据，然后低八位分配给了第零组寄存器组。同样可以继续修改RS的值，来发现4组的寄存器分配。</p>
<p>实际上低128字节RAM称作通用RAM区，通用寄存器是占用了基本内部RAM的数据区，通用RAM区又可以分为工作寄存器组区，可位寻址区，用户RAM和堆栈区，分为4组，每一组称为一个寄存器组，每组包含8个8位的工作寄存器，编号均为R0 ~ R7，但属于不同的物理空间。</p>

    </div>
    
    
    

      <footer class="post-footer">
          
          <div class="post-tags">
              <a href="/tags/C/" rel="tag"><i class="fa fa-tag"></i> C</a>
              <a href="/tags/%E5%B5%8C%E5%85%A5%E5%BC%8F/" rel="tag"><i class="fa fa-tag"></i> 嵌入式</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2021/07/12/%E5%B5%8C%E5%85%A5%E5%BC%8F%E6%95%B0%E7%A0%81%E7%AE%A1%E6%BB%9A%E5%8A%A8/" rel="prev" title="STC51单片机数码管滚动显示，中断与定时实例分析">
      <i class="fa fa-chevron-left"></i> STC51单片机数码管滚动显示，中断与定时实例分析
    </a></div>
      <div class="post-nav-item">
    <a href="/2021/07/15/KeilC-STC-debug/" rel="next" title="Keil C调试示例">
      Keil C调试示例 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#STC%E5%8D%95%E7%89%87%E6%9C%BACPU%E5%86%85%E6%A0%B8%E5%8A%9F%E8%83%BD%E5%8D%95%E5%85%83"><span class="nav-number">1.</span> <span class="nav-text">STC单片机CPU内核功能单元</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%8C%87%E4%BB%A4%E9%80%9A%E9%81%93"><span class="nav-number">1.0.1.</span> <span class="nav-text">指令通道</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%B5%81%E6%B0%B4%E7%BA%BF%E6%8A%80%E6%9C%AF"><span class="nav-number">1.0.2.</span> <span class="nav-text">流水线技术</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#DPTR"><span class="nav-number">1.0.3.</span> <span class="nav-text">DPTR</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%A0%86%E6%A0%88%E5%92%8C%E6%8C%87%E9%92%88"><span class="nav-number">1.0.4.</span> <span class="nav-text">堆栈和指针</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#ACC"><span class="nav-number">1.0.5.</span> <span class="nav-text">ACC</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#B%E5%AF%84%E5%AD%98%E5%99%A8"><span class="nav-number">1.0.6.</span> <span class="nav-text">B寄存器</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E7%A8%8B%E5%BA%8F%E7%8A%B6%E6%80%81%E5%AD%97"><span class="nav-number">1.0.7.</span> <span class="nav-text">程序状态字</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E7%89%B9%E6%AE%8A%E5%8A%9F%E8%83%BD%E5%AF%84%E5%AD%98%E5%99%A8"><span class="nav-number">1.0.8.</span> <span class="nav-text">特殊功能寄存器</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E7%AB%AF%E5%8F%A3%E6%8E%A7%E5%88%B6%E5%AF%84%E5%AD%98%E5%99%A8%E7%BB%84"><span class="nav-number">1.0.9.</span> <span class="nav-text">端口控制寄存器组</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%97%B6%E9%92%9F%E5%88%86%E9%A2%91%E5%99%A8"><span class="nav-number">1.0.10.</span> <span class="nav-text">时钟分频器</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Keil-C%E8%B0%83%E8%AF%95%E4%BB%A3%E7%A0%81%E6%8E%A2%E7%A9%B6RAM%E5%92%8C%E5%AF%84%E5%AD%98%E5%99%A8"><span class="nav-number">1.1.</span> <span class="nav-text">Keil C调试代码探究RAM和寄存器</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="Sekla"
      src="/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">Sekla</p>
  <div class="site-description" itemprop="description">Sekla</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">100</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">23</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">14</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="https://github.com/ShenTiao" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;ShenTiao" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="mailto:584892986@qq.com" title="E-Mail → mailto:584892986@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
      </span>
  </div>



      </div>

      <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=1416875904&auto=0&height=66"></iframe>
      
    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Sekla</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-area"></i>
    </span>
    <span title="站点总字数">288k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">4:22</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

        
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>








      </div>
    </footer>
  </div>

  
  <script size="300" alpha="0.6" zIndex="-1" src="/lib/canvas-ribbon/canvas-ribbon.js"></script>
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  















  

  
      

<script>
  if (typeof MathJax === 'undefined') {
    window.MathJax = {
      loader: {
        source: {
          '[tex]/amsCd': '[tex]/amscd',
          '[tex]/AMScd': '[tex]/amscd'
        }
      },
      tex: {
        inlineMath: {'[+]': [['$', '$']]},
        tags: 'ams'
      },
      options: {
        renderActions: {
          findScript: [10, doc => {
            document.querySelectorAll('script[type^="math/tex"]').forEach(node => {
              const display = !!node.type.match(/; *mode=display/);
              const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display);
              const text = document.createTextNode('');
              node.parentNode.replaceChild(text, node);
              math.start = {node: text, delim: '', n: 0};
              math.end = {node: text, delim: '', n: 0};
              doc.math.push(math);
            });
          }, '', false],
          insertedScript: [200, () => {
            document.querySelectorAll('mjx-container').forEach(node => {
              let target = node.parentNode;
              if (target.nodeName.toLowerCase() === 'li') {
                target.parentNode.classList.add('has-jax');
              }
            });
          }, '', false]
        }
      }
    };
    (function () {
      var script = document.createElement('script');
      script.src = '//cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
      script.defer = true;
      document.head.appendChild(script);
    })();
  } else {
    MathJax.startup.document.state(0);
    MathJax.texReset();
    MathJax.typeset();
  }
</script>

    

  

<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/shizuku.model.json"},"display":{"position":"left","width":250,"height":500},"mobile":{"show":false},"react":{"opacity":0.9},"log":false});</script></body>
</html>

<script type="text/javascript" src="/js/src/love.js"></script>
